From dc064d77d87d3024da2dab804e9b63871916ae3d Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Thu, 29 Jan 2009 01:16:30 +0000 Subject: [PATCH] x86: bzimage_headroom does not return -ve error codes. Signed-off-by: Keir Fraser --- xen/arch/x86/bzimage.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xen/arch/x86/bzimage.c b/xen/arch/x86/bzimage.c index e1b45a7561..f432c9e115 100644 --- a/xen/arch/x86/bzimage.c +++ b/xen/arch/x86/bzimage.c @@ -185,7 +185,7 @@ static __init int bzimage_check(struct setup_header *hdr, unsigned long len) if ( hdr->version < VERSION(2,8) ) { printk("Cannot load bzImage v%d.%02d at least v2.08 is required\n", hdr->version >> 8, hdr->version & 0xff); - return -EINVAL; + return 0; } return 1; } -- 2.30.2